//
//  GHOrderModel.h
//  GodHorses
//
//  Created by Mac on 2017/11/20.
//  Copyright © 2017年 stoneobs@icloud.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GHOrderGoodModel.h"
/************订单model******************/
@interface GHOrderModel : NSObject

@property(nonatomic, assign) BOOL                       jifenSelected;//默认yes
@property(nonatomic, strong) NSString                          *can_jifen;

@property(nonatomic, strong) NSArray<NSDictionary*>                     *goods_info;

/**
 通过字典goods_info get方法获取
 */
@property(nonatomic, strong) NSArray <GHOrderGoodModel*>      *goodList;

@property(nonatomic, strong) NSString                          *oriderID;


/**
 可用神马值
 */
@property(nonatomic, strong) NSString                           *now_wfpoints;

/**
 支付状态
 */
@property(nonatomic, strong) NSString                           *pay_status;

/**
 订单总计
 */
@property(nonatomic, strong) NSString                           *order_amount;

/**
 订单状态 订单状态0待支付订单1待发货订单2待收货订单3待评价订单4已完成订单 5 已取消
 */
@property(nonatomic, assign) NSInteger                           order_status;

/**
 用户id
 */
@property(nonatomic, strong) NSString                           *u_id;

/**
 用户余额
 */
@property(nonatomic, strong) NSString                           *u_money;

/**
 自定义ordertype，获取全部订单0待支付订单1待发货订单2待收货订单3待评价订单4已完成订单（注：不传默认为待支付订单）
 */
@property(nonatomic, assign) NSInteger                     order_type;//


//id = SMQYP1511161773OID;
//"now_wfpoints" = "0.00";
//"order_amount" = "500.00";
//"order_status" = 0;
//"pay_status" = 0;
//"u_id" = 109;
//"u_money" = "0.00";

@end
